home *** CD-ROM | disk | FTP | other *** search
- on enterFrame
- global rad, r, s
- set r to random(400)
- set Deg to random(360)
- set the floatPrecision to 5
- set rad to float(float(Deg) * PI / 180.0)
- set the floatPrecision to 3
- put r into field "R"
- put rad into field "Radian"
- put field "Radian" * field "R" into field "S"
- set s to field "S"
- put " " into field "Answer"
- set the textSize of field "Answer" to 32
- set the textSize of field "S" to 32
- set the textSize of field "R" to 32
- set the textSize of field "Radian" to 32
- set the textStyle of field "Answer" to "bold"
- set the textStyle of field "S" to "bold"
- set the textStyle of field "R" to "bold"
- set the textStyle of field "Radian" to "bold"
- end
-